package com.achao.basecommon.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.sql.Blob;

/**
 * 描述：歌手表-DO类
 *
 * @Author：yangchao
 * @CreateDate：2023/1/31 22:05
 */
@TableName("MUSIC_SINGER")
public class MusicSingerDO implements Serializable {
    private static final long serialVersionUID = 1931450457356990971L;
    //歌手列表id
    @TableId("ID")
    private int id;
    //歌手名字
    @TableField("SINGER_NAME")
    private String singerName;
    //性别 0->男 1->女
    @TableField("GENDER")
    private int gender;
    //歌手生日
    @TableField("BIRTHDAY")
    private String birthday;
    //地区
    @TableField("AREA")
    private String area;
    //歌手简介
    @TableField("INTRODUCTION")
    private String introduction;
    //歌手图片
    @TableField("SINGER_PICTURE")
    private Blob singerPicture;
    //| 创建时间 |
    @TableField("CREATE_TIME")
    private String createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSingerName() {
        return singerName;
    }

    public void setSingerName(String singerName) {
        this.singerName = singerName;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Blob getSingerPicture() {
        return singerPicture;
    }

    public void setSingerPicture(Blob singerPicture) {
        this.singerPicture = singerPicture;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "MusicSingerDO{" +
                "id=" + id +
                ", singerName='" + singerName + '\'' +
                ", gender=" + gender +
                ", birthday='" + birthday + '\'' +
                ", area='" + area + '\'' +
                ", introduction='" + introduction + '\'' +
                ", singerPicture=" + singerPicture +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
